﻿using System.Collections.Generic;

namespace CivilRegistry.ControlledModel
{
    /// <summary>
    /// A mediator to interact between various layers of controlled model.
    /// </summary>
    public static class Mediator
    {
        /// <summary>
        /// Holds the entities to be refreshed.
        /// </summary>
        private static List<string> entitiesToRefresh = new List<string>();

        /// <summary>
        /// Gets the entities to be refreshed.
        /// </summary>
        public static List<string> EntitiesToRefresh
        {
            get { return entitiesToRefresh; }
        }
    }
}
